View Issue Details

IDProjectCategoryView StatusLast Update
0001525T99X171.00 SKB EagleSW Issuepublic2024-07-18 12:46
Reporter(ALTech) Younkwang Jung Assigned To(ALTech) Younkwang Jung Due Date2024-05-03 11:04
PrioritylowSeveritys4-minorReproducibilityhave not tried
Status closedResolutionreopened 
Summary0001525: [Smart3][VoC] Request to check binder-related logs at ATVRemoteAudioH
DescriptionHi Kerwin

SKB manager is requesting an explanation for this log

08-17 15:58:57.596 3462 3462 W ATVRemoteAudioH: type=1400 audit(0.0:378112): avc: denied { call } for scontext=u:r:hal_audio_amlogic:s0 tcontext=u:r:rc_server:s0 tclass=binder permissive=0
08-17 15:58:58.604 3462 3705 W ServiceManagement: getService: unable to call into hwbinder service for vendor.amlogic.hardware.remotecontrol@1.0::IRemoteControl/default.
08-17 15:58:58.600 3462 3462 W ATVRemoteAudioH: type=1400 audit(0.0:378113): avc: denied { call } for scontext=u:r:hal_audio_amlogic:s0 tcontext=u:r:rc_server:s0 tclass=binder permissive=0
08-17 15:58:59.606 3462 3705 W ServiceManagement: getService: unable to call into hwbinder service for vendor.amlogic.hardware.remotecontrol@1.0::IRemoteControl/default.
08-17 15:58:59.604 3462 3462 W ATVRemoteAudioH: type=1400 audit(0.0:378114): avc: denied { call } for scontext=u:r:hal_audio_amlogic:s0 tcontext=u:r:rc_server:s0 tclass=binder permissive=0
08-17 15:59:00.610 3462 3705 W ServiceManagement: getService: unable to call into hwbinder service for vendor.amlogic.hardware.remotecontrol@1.0::IRemoteControl/default.
08-17 15:59:00.608 3462 3462 W ATVRemoteAudioH: type=1400 audit(0.0:378115): avc: denied { call } for scontext=u:r:hal_audio_amlogic:s0 tcontext=u:r:rc_server:s0 tclass=binder permissive=0
08-17 15:59:01.614 3462 3705 W ServiceManagement: getService: unable to call into hwbinder service for vendor.amlogic.hardware.remotecontrol@1.0::IRemoteControl/default.
08-17 15:59:01.608 3462 3462 W ATVRemoteAudioH: type=1400 audit(0.0:378116): avc: denied { call } for scontext=u:r:hal_audio_amlogic:s0 tcontext=u:r:rc_server:s0 tclass=binder permissive=0
08-17 15:59:02.618 3462 3705 W ServiceManagement: getService: unable to call into hwbinder service for vendor.amlogic.hardware.remotecontrol@1.0::IRemoteControl/default.
08-17 15:59:02.612 3462 3462 W ATVRemoteAudioH: type=1400 audit(0.0:378117): avc: denied { call } for scontext=u:r:hal_audio_amlogic:s0 tcontext=u:r:rc_server:s0 tclass=binder permissive=0
08-17 15:59:03.622 3462 3705 W ServiceManagement: getService: unable to call into hwbinder service for vendor.amlogic.hardware.remotecontrol@1.0::IRemoteControl/default.
08-17 15:59:03.620 3462 3462 W ATVRemoteAudioH: type=1400 audit(0.0:378118): avc: denied { call } for scontext=u:r:hal_audio_amlogic:s0 tcontext=u:r:rc_server:s0 tclass=binder permissive=0

That is , SKB manager wants to know the cause of these warning logs and whether this log is observed when an issue occurs in STB

Please check this warning message

Thank you
YK.Jung
TagsNo tags attached.
Attach Tags

Users monitoring this issue

User List (ALTech) JunGyu Kim , (ALTech) SY Yoon

Activities

(ALTech) Younkwang Jung

2022-08-17 18:11

developer  

(SW) Kerwin Chen

2022-08-19 09:33

developer   ~0010662

Hi YK,

That is part of AML codes in audio HAL. (AudioHardwareInput.cpp)
It is used to get IRemoteControl service and enable Mic on RCU.
However, Smart3 doesn't need it.
RCU Mic enable/disable is implemented in soundcard driver.

Thank You !
AudioHardwareInput.png (22,194 bytes)   
AudioHardwareInput.png (22,194 bytes)   

(ALTech) Younkwang Jung

2024-05-03 10:07

developer   ~0015660

Hi Kerwin

This issue is being discussed again.

What's unusual is that the log is not observed by other manufacturers
Only FXN is the log being observed.

SKB is asking why this log is observed only by FXN.
Please let me know your opinion on this status.

Thank you
YK.Jung

(ALTech) Younkwang Jung

2024-05-03 12:52

developer   ~0015672

Hi Kerwin

I would like to explain to SKB as follows.
I'd like to hear your opinion.
************************************************************************************************
FXN is using audio soundcard driver with some modifications for nugu operation.
During the basic operation of the soundcard, there is a function that checks if the device changes

bool AudioHardwareInput::setRemoteControlDeviceStatus(bool flag)
{
    sp<IRemoteControl> service = IRemoteControl::getService(); <= *
    if (service == NULL) {
        //ALOGW("%s: No RemoteControl service detected, start poll...", __func__);//Vas remove temporarily; River 2019/03/16
        mHotplugThread->polling(flag);
        return false;
    }

    service->onDeviceChanged(flag == true ? 1 : 0);

    return true;
}

Error logs are being output from this function.
but this error log has no operational issues.

*********************************************************************************************

Thank you
YK.Jung

(SW) Kerwin Chen

2024-05-03 13:44

developer   ~0015674

Hi YK,

Acturally, 'service->onDeviceChanged' is not called because service is NULL.
Fii doesn't use 'IRemoteControl' service for NUGU operation, so this error message can be ignored.
More, the error log is about SELinux policy deny.
Thanks!

(ALTech) Younkwang Jung

2024-05-03 14:28

developer   ~0015676

Last edited: 2024-05-03 14:28

View 2 revisions

Hi Kerwin

What I need to explain to SKB is why this log is observed only at FXN Smart3

Due to changes in FXN, the this logs is observed.
However, there is no problem with the error log.
is it correct ?

Thank you
YK.Jung

(SW) Kerwin Chen

2024-05-03 14:54

developer   ~0015677

Hi YK,

I have no idea why there is no such error on Intek platform.
However, as I remember, it is also seen on AML's ref. board.
As I said previously, there is no problem while the log is printed.

(ALTech) Younkwang Jung

2024-07-18 12:46

developer   ~0016294

Hi Kerwin

I received patch from SoC
https://jira.skbroadband.com/browse/AMANDROIDS-177

Thank you for your confirmation.
YK.Jung

Issue History

Date Modified Username Field Change
2022-08-17 18:11 (ALTech) Younkwang Jung New Issue
2022-08-17 18:11 (ALTech) Younkwang Jung Status new => assigned
2022-08-17 18:11 (ALTech) Younkwang Jung Assigned To => (SW) Kerwin Chen
2022-08-17 18:11 (ALTech) Younkwang Jung File Added: b4_b5_b6_fe_89_51_20220817161156.zip
2022-08-17 18:11 (ALTech) Younkwang Jung Issue Monitored: (ALTech) SY Yoon
2022-08-17 18:11 (ALTech) Younkwang Jung Issue Monitored: (ALTech) JunGyu Kim
2022-08-19 09:33 (SW) Kerwin Chen Note Added: 0010662
2022-08-19 09:33 (SW) Kerwin Chen File Added: AudioHardwareInput.png
2022-08-19 09:35 (SW) Kerwin Chen Assigned To (SW) Kerwin Chen => (ALTech) Younkwang Jung
2022-08-19 09:35 (SW) Kerwin Chen Status assigned => acknowledged
2022-11-10 13:02 (ALTech) Younkwang Jung Status acknowledged => closed
2022-11-10 13:02 (ALTech) Younkwang Jung Resolution open => fixed
2024-05-03 10:07 (ALTech) Younkwang Jung Assigned To (ALTech) Younkwang Jung => (SW) Kerwin Chen
2024-05-03 10:07 (ALTech) Younkwang Jung Status closed => feedback
2024-05-03 10:07 (ALTech) Younkwang Jung Resolution fixed => reopened
2024-05-03 10:07 (ALTech) Younkwang Jung Due Date => 2024-05-03 11:04
2024-05-03 10:07 (ALTech) Younkwang Jung Note Added: 0015660
2024-05-03 12:52 (ALTech) Younkwang Jung Note Added: 0015672
2024-05-03 12:52 (ALTech) Younkwang Jung Status feedback => assigned
2024-05-03 13:44 (SW) Kerwin Chen Note Added: 0015674
2024-05-03 14:28 (ALTech) Younkwang Jung Note Added: 0015676
2024-05-03 14:28 (ALTech) Younkwang Jung Note Edited: 0015676 View Revisions
2024-05-03 14:54 (SW) Kerwin Chen Note Added: 0015677
2024-07-18 12:46 (ALTech) Younkwang Jung Note Added: 0016294
2024-07-18 12:46 (ALTech) Younkwang Jung Assigned To (SW) Kerwin Chen => (ALTech) Younkwang Jung
2024-07-18 12:46 (ALTech) Younkwang Jung Status assigned => closed